#define _CRT_SECURE_NO_WARNINGS
#include"string.h"
void test()
{
	shen::string s1("hello world");
	s1.insert(6, "xxx");
	cout << s1.c_str() << endl;

	shen::string s2("hello world");
	s2.insert(6, 'x');
	cout << s2.c_str() << endl;

	shen::string s3("hello worldxxxxx");
	s3.erase(11);
	cout << s3.c_str() << endl;

}
int main()
{
	test();
	return 0;
}